java:
	javac IntArray.java
	javah -jni IntArray
native:
	cc -fPIC -c -I. -I${JAVA_HOME}/include/ IntArray.c 
	cc -shared IntArray.o -o libIntArray.so
run:
	java -Djava.library.path=. IntArray

clean:
	rm -f *.o *.so *.class